package com.vladimirkolarevic.eventplanner.service;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.vladimirkolarevic.eventplanner.Attend;
import com.vladimirkolarevic.eventplanner.User;

public interface AttendService {

	List<Attend> retrive();
	Attend retrive(Long id);
	@CommitAfter
	Long save(Attend attend);
	void attach(Attend a);
	Attend retrive(User user);
	@CommitAfter
	void update(Attend attend);
	
}
